#ifndef LOGINWIDGET_H
#define LOGINWIDGET_H

#include <QWidget>
#include <QMessageBox>
namespace Ui {
class LoginWidget;
}

class LoginWidget : public QWidget
{
    Q_OBJECT

public:
    explicit LoginWidget(QWidget *parent = nullptr);
    ~LoginWidget();
    void loginManage();
    void loginSupplier();
protected:
    //事件
    virtual void paintEvent(QPaintEvent *event);
    virtual void showEvent(QShowEvent *event);

    virtual void resizeEvent(QResizeEvent *event);

signals:
    void sendDisWidget(QString );
private slots:
    //登录
    void on_pushButton_1_clicked();
    //退出
    void on_pushButton_2_clicked();

private:
    Ui::LoginWidget *ui;
};

#endif // LOGINWIDGET_H
